import request from '../request';


/*
    书API,获取,新增
*/
export const booksApiGet = (url: string,data: any) => {
    return request({
        method: 'POST',
        url: url,
        data: data
    })
}

/*
    书API,删除
*/
export const booksApiDel = (url: string) => {
    return request({
        method: 'GET',
        url: url
    })
}

